home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group00b.txt / 000096_icon-group-sender_Tue Oct 24 12:41:05 2000.msg < prev    next >
Internet Message Format  |  2001-01-03  |  1KB

  1. Return-Path: <icon-group-sender>
  2. Received: (from root@localhost)
  3.     by baskerville.CS.Arizona.EDU (8.11.1/8.11.1) id e9OJdIL22579
  4.     for icon-group-addresses; Tue, 24 Oct 2000 12:39:18 -0700 (MST)
  5. Message-Id: <200010241939.e9OJdIL22579@baskerville.CS.Arizona.EDU>
  6. From: Parvinder Kaur <kaurp@cs.ucdavis.edu>
  7. X-Newsgroups: comp.lang.icon
  8. Subject: counting lines
  9. Date: Tue, 24 Oct 2000 09:10:12 -0700
  10. X-Trace: mark.ucdavis.edu 972403814 26892 169.237.5.128 (24 Oct 2000 16:10:14 GMT)
  11. X-Complaints-To: usenet@ucdavis.edu
  12. To: icon-group@optima.CS.Arizona.EDU
  13. Errors-To: icon-group-errors@optima.CS.Arizona.EDU
  14. Status: RO
  15. Content-Length: 404
  16.  
  17. Hi,
  18.   I have another problem that I could use help figuring out.  I'm
  19. suppose to count the number of lines in a text.  The lines should be
  20. stored in a table as the key and it's associated value is the number of
  21. times it occurred within the text. i.e.
  22.  Hi there
  23.  How are you 
  24.  Hi there 
  25. will look like this
  26.  Hi there 2
  27.  How are you 1
  28. Any help or suggestions will be greatly appreciated.
  29. Thanks,
  30.  Cos :)
  31.  
  32.